/* stylelint-disable selector-pseudo-class-no-unknown */
@import '~antd/es/style/themes/default.less';

.login {
  width: 449px;
  height: 400px;
  padding: 0 44px;
  background: #fff;
  border-radius: 0 8px 8px 0;

  :global {
    .ant-tabs .ant-tabs-bar {
      margin-bottom: 24px;
      text-align: center;
      border-bottom: 0;
    }

    .ant-legacy-form-explain,
    .ant-legacy-form-extra {
      position: absolute;
      margin-top: 5px;
    }

    .ant-legacy-form-item {
      height: 90px;
      margin-bottom: 0 !important;
    }

    .ant-input-affix-wrapper {
      padding-left: 0 !important;
      font-size: 22px;
      border: none !important;
      border-bottom: 1px solid #d8d8d8 !important;

      .ant-input-prefix > span {
        margin-left: 14px;
        font-size: 20px;
      }
    }

    .ant-legacy-form-explain {
      font-size: 18px;
      color: #ff4d4f;
    }

    .has-error {
      .ant-input-affix-wrapper {
        box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
      }
    }

    .ant-tabs .ant-tabs-bar {
      margin-bottom: 24px;
      text-align: center;
      border-bottom: 0;
    }
  }

  .getCaptcha {
    display: block;
    width: 100%;
  }

  .ant-input-lg {
    font-size: 14px !important;
  }

  .icon {
    margin-left: 16px;
    font-size: 24px;
    color: rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;

    .register {
      float: right;
    }
  }

  .prefixIcon {
    margin-right: 10px;
    font-size: @font-size-base;
    color: @disabled-color;
  }

  .submit {
    width: 100%;
    margin-top: 10px;
    margin-right: 20px;
  }

  .ant-legacy-form-explain {
    position: relative;
    top: 10px;
  }
}
